package com.xsz.DTO;

import com.xsz.entity.Role;
import com.xsz.entity.User;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
public class UserDTO extends User {
    private List<Role> roleList;// 一个用户具有多个角色
}
